package com.amar.hibernate.services.impl;

import com.amar.hibernate.dao.StudentDao;
import com.amar.hibernate.domain.StudentEntity;
import com.amar.hibernate.services.StudentService;

public class StudentServiceImpl implements StudentService {
	private StudentDao studentDao;


	public boolean createStudent(StudentEntity studentEntity) {
		studentDao.save(studentEntity);
		return true;	
	}


	public StudentDao getStudentDao() {
		return studentDao;
	}


	public void setStudentDao(StudentDao studentDao) {
		this.studentDao = studentDao;
	}
	

}
